import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;

import javax.swing.JFrame;

import no.geosoft.cc.geometry.*;
import no.geosoft.cc.graphics.*;


	public class print extends JFrame
	{
	  public print()
	  {
	    super ("G Graphics Library - Demo 1");    
	    setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE);
	    
	    // Create the graphic canvas
	    GWindow window = new GWindow(new Color (210, 235, 255));
	    getContentPane().add (window.getCanvas());
	    
	    // Create scene with default viewport and world extent settings
	    GScene scene = new GScene (window);

	    // Create the graphics object and add to the scene
	    GObject helloWorld = new HelloWorld();
	    scene.add (helloWorld);

	    pack();
	    setSize (new Dimension (1000, 500));
	    setVisible (true);
	  }
	  }
